<?php

namespace app\index\model;

use think\Model;

class Payorder extends Model
{
    protected $pk = 'id';

    public function newOrder($param){
        try {
            $this->save($param);
            return true;
        } catch (\Throwable $th) {
            //throw $th;
            return false;
        }
    }
}
